package com.scse.bms.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.sql.Timestamp;

/**
 * @Title: BookVO
 * @Author: 吴赠禹
 * @Date: 2021/1/18 10:15
 * @Version: 1.0
 * @Description: TODO
 */

@Getter
@Setter
@ToString
@Alias("bookVO")
public class BookVO {

    private Integer id;
    private String title;
    private String author;
    private String press;
    private String pressTime;
    private String category;

    /**
     * 最新上架一栏增加主题ID
     */
    private Integer themeId;

    // 封面
    private String img;

    // 主题（对应theme表中的name字段）
    private String keyword;

    // 推荐状态
    private Integer status;

    // 上传时间
    private Timestamp uploadTime;

}
